import loading from "./loading";

const directives = {
  loading,

};
// Plugin 注册全局自定义指令
const registerDirective = {
  install: (app) => {
    // // 循环注册指令
    Object.keys(directives).forEach((key) => {
      app.directive(key, directives[key]);
    });
  },
};

export default registerDirective;
